home *** CD-ROM | disk | FTP | other *** search
/ Champak 54 / Vol 54.iso / games / x_valin.swf / scripts / DefineSprite_72 / frame_1 / DoAction.as
Encoding:
Text File  |  2007-10-01  |  280 b   |  19 lines

  1. freq = 2;
  2. grid = 32;
  3. frac = (random(2) + 1) * 8;
  4. t = - random(20);
  5. dx = 0;
  6. dy = 0;
  7. tellTarget("anim")
  8. {
  9.    gotoAndStop(3);
  10. }
  11. direx = (random(2) + 1) * 2;
  12. if(direx == 2)
  13. {
  14.    _X = _X + 32 * freq;
  15.    _Y = _Y + 16 * freq;
  16. }
  17. nom = _name;
  18. zplus = int(nom.charAt(1));
  19.